<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>arronly</title>
    <script type="text/javascript">
    arr=['a','c','d','e','f','c','e'];
    function quchon(arr){
    	for(i=0;i<arr.length;i++){
               for(k=i+1;k<arr.length;k++){
               	    if(arr[i]==arr[k]){
               	    	arr.splice(k,1);
               	    	 --k;
               	    }

               }
    	}
         return arr;
    }
    var newarr=quchon(arr);
    alert(newarr);

    </script>
</head>
<body>
	
</body>
</html>